<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>Global Load</title>
    <link
            href="https://unpkg.com/md-editor-v3@2.2.0/lib/style.css"
            rel="stylesheet"
    />
</head>
<body>
    <div id="md-editor-v3">
        <div style="width: 1000px;height: 500px;">
            你好
            # hello
            ### 你还是吗
            ![](http://124.222.69.186:9000/bishe/狗头.jpg)[点我试试](http://www.baidu.com "点我试试")

            **测试**
<!--            <md-editor-v3 v-model="text" @on-upload-img="onUploadImg"/>-->
        </div>
        <button type="submit" @click="show1" @onHtmlChanged="saveHtml">确定</button>
    </div>


<script src="https://unpkg.com/vue@3.2.31/dist/vue.global.prod.js"></script>
<script src="https://unpkg.com/md-editor-v3@2.2.0/lib/md-editor-v3.umd.js"></script>
<script>
    const App ={
        data() {
            return {
                text: 'Hello Editor!!'
            };
        },
        methods : {
            show1() {
                // console.log(this.text);
                alert(this.text);
            }
        }
    };
    Vue.createApp(App).use(MdEditorV3).mount('#md-editor-v3');

</script>
</body>
</html>
